//
//  AXFMapViewController.m
//  AIXF
//
//  Created by Macx on 2017/7/11.
//  Copyright © 2017年 Macx. All rights reserved.
//

#import "AXFMapViewController.h"
#import <MapKit/MapKit.h>
#import <CoreLocation/CoreLocation.h>

@interface AXFMapViewController ()

@property (strong, nonatomic) CLLocationManager *manager;

@property (nonatomic,strong) MKMapView *mapView;

@end

@implementation AXFMapViewController




- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.mapView = [[MKMapView alloc] initWithFrame:self.view.bounds];
    
    [self.view addSubview:self.mapView];
    
    self.manager = [CLLocationManager new];
    
    [self.manager requestWhenInUseAuthorization];
    
    self.mapView.userTrackingMode = MKUserTrackingModeFollow;
    
    



}



@end
